/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package xcore.model;

import org.eclipse.emf.ecore.EObject;

import xcore.constraint.XIntVar;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>XAtt Feature</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link xcore.model.XAttFeature#getCardinality <em>Cardinality</em>}</li>
 *   <li>{@link xcore.model.XAttFeature#getFrom <em>From</em>}</li>
 *   <li>{@link xcore.model.XAttFeature#getXArttribute <em>XArttribute</em>}</li>
 *   <li>{@link xcore.model.XAttFeature#getLowerBound <em>Lower Bound</em>}</li>
 *   <li>{@link xcore.model.XAttFeature#getUpperBound <em>Upper Bound</em>}</li>
 * </ul>
 * </p>
 *
 * @see xcore.model.ModelPackage#getXAttFeature()
 * @model
 * @generated
 */
public interface XAttFeature extends EObject {
	/**
	 * Returns the value of the '<em><b>Cardinality</b></em>' containment reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Cardinality</em>' containment reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Cardinality</em>' containment reference.
	 * @see #setCardinality(XIntVar)
	 * @see xcore.model.ModelPackage#getXAttFeature_Cardinality()
	 * @model containment="true" required="true"
	 * @generated
	 */
	XIntVar getCardinality();

	/**
	 * Sets the value of the '{@link xcore.model.XAttFeature#getCardinality <em>Cardinality</em>}' containment reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Cardinality</em>' containment reference.
	 * @see #getCardinality()
	 * @generated
	 */
	void setCardinality(XIntVar value);

	/**
	 * Returns the value of the '<em><b>From</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>From</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>From</em>' reference.
	 * @see #setFrom(XClass)
	 * @see xcore.model.ModelPackage#getXAttFeature_From()
	 * @model required="true"
	 * @generated
	 */
	XClass getFrom();

	/**
	 * Sets the value of the '{@link xcore.model.XAttFeature#getFrom <em>From</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>From</em>' reference.
	 * @see #getFrom()
	 * @generated
	 */
	void setFrom(XClass value);

	/**
	 * Returns the value of the '<em><b>XArttribute</b></em>' container reference.
	 * It is bidirectional and its opposite is '{@link xcore.model.XAttribute#getFeatures <em>Features</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>XArttribute</em>' container reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>XArttribute</em>' container reference.
	 * @see #setXArttribute(XAttribute)
	 * @see xcore.model.ModelPackage#getXAttFeature_XArttribute()
	 * @see xcore.model.XAttribute#getFeatures
	 * @model opposite="features" required="true" transient="false"
	 * @generated
	 */
	XAttribute getXArttribute();

	/**
	 * Sets the value of the '{@link xcore.model.XAttFeature#getXArttribute <em>XArttribute</em>}' container reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>XArttribute</em>' container reference.
	 * @see #getXArttribute()
	 * @generated
	 */
	void setXArttribute(XAttribute value);

	/**
	 * Returns the value of the '<em><b>Lower Bound</b></em>' containment reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Lower Bound</em>' containment reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Lower Bound</em>' containment reference.
	 * @see #setLowerBound(XIntVar)
	 * @see xcore.model.ModelPackage#getXAttFeature_LowerBound()
	 * @model containment="true" required="true"
	 * @generated
	 */
	XIntVar getLowerBound();

	/**
	 * Sets the value of the '{@link xcore.model.XAttFeature#getLowerBound <em>Lower Bound</em>}' containment reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Lower Bound</em>' containment reference.
	 * @see #getLowerBound()
	 * @generated
	 */
	void setLowerBound(XIntVar value);

	/**
	 * Returns the value of the '<em><b>Upper Bound</b></em>' containment reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Upper Bound</em>' containment reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Upper Bound</em>' containment reference.
	 * @see #setUpperBound(XIntVar)
	 * @see xcore.model.ModelPackage#getXAttFeature_UpperBound()
	 * @model containment="true" required="true"
	 * @generated
	 */
	XIntVar getUpperBound();

	/**
	 * Sets the value of the '{@link xcore.model.XAttFeature#getUpperBound <em>Upper Bound</em>}' containment reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Upper Bound</em>' containment reference.
	 * @see #getUpperBound()
	 * @generated
	 */
	void setUpperBound(XIntVar value);

} // XAttFeature
